﻿using System.Windows.Forms;

namespace TAProject.UI
{
    public partial class FormTemplate : Form
    {
        private readonly Form _parentForm;

        protected FormTemplate(Form parentForm)
        {
            InitializeComponent();

            _parentForm = parentForm;
        }

        protected FormTemplate(){}

        private void FormTemplate_FormClosing(object sender, FormClosingEventArgs e)
        {
            _parentForm.Enabled = true;
        }
    }
}